package loc.dd.mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import loc.dd.entity.Abilities;
import loc.dd.entity.Permissions;

/**
*@author 作者：huyaqi
*@version 创作时间:2023年9月19日上午10:23:55
*
*/
@Repository
public interface WlbgcMapper {
	List<Permissions> getjs(HashMap<String,Integer> map);
	
	int addjs(Permissions permissions);
	
	int editjs(Permissions permissions);
	
	int deljs(@Param("id") int id);
	
	String findjs(@Param("id") int id);
	
	int checkjs(@Param("rolename") String rolename);
}
